<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
    "http://www.ibatis.com/dtd/sql-map-config-2.dtd">

<sqlMapConfig>
	<settings cacheModelsEnabled="true" enhancementEnabled="true"
		lazyLoadingEnabled="true" errorTracingEnabled="true" maxRequests="32"
		maxSessions="10" maxTransactions="5" useStatementNamespaces="true" />

	<sqlMap resource="${model.packageName?replace(".", "/")}/dao/ibatis/maps/${model.initUpperName}Mapper.xml"/>
	<#list model.childModels as childModel>
	<sqlMap resource="${model.packageName?replace(".", "/")}/dao/ibatis/maps/${childModel.initUpperName}Mapper.xml"/>
	</#list>
</sqlMapConfig>
